package edu.cmu.ibill.controller;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.mybeans.dao.DAOException;
import org.mybeans.form.FormBeanException;
import org.mybeans.form.FormBeanFactory;


import edu.cmu.ibill.databeans.PersonalBill;
import edu.cmu.ibill.databeans.User;
import edu.cmu.ibill.formbeans.AddPersonalBillForm;
import edu.cmu.ibill.model.Model;
import edu.cmu.ibill.model.PersonalBillDAO;

public class RemoveBillAction extends Action {
	
	PersonalBillDAO personalbillDAO;
	
	public RemoveBillAction(Model model){
		this.personalbillDAO = model.getPersonalBillDAO();
	}

	@Override
	public String getName() {
		return "removebill.do";
	}

	@Override
	public String perform(HttpServletRequest request) {
		System.out.println("hahaha");
		System.out.println("1"+request.getParameter("deleteid"));
		System.out.println("2"+request.getParameter("id"));
		return null;
	}

}
